local Class = require('lua.lang.Class')

--- @class LocalVariable : Class
--- @field varName LuaString
--- @field startPc number
--- @field endPc number
local LocalVariable = Class {}

--- @constructor
--- @param varName LuaString
--- @param startPc number
--- @param endPc number
--- @return LocalVariable
function LocalVariable:new(varName, startPc, endPc)
	--- @type LocalVariable
	local obj = {
		varName = varName,
		startPc = startPc,
		endPc = endPc
	}
	return setmetatable(obj, LocalVariable)
end

return LocalVariable